package model;

import model.altarica_fields.VarType;

public class AltaRicaDomain {

    private String name;
    private VarType type;

    public AltaRicaDomain(String name, VarType type) {

        this.name = name;
        this.type = type;
    }

    public String getName() {

        return this.name;
    }

    public void setType(VarType type) {

        this.type = type;
    }

    public VarType getType() {

        return this.type;
    }

    @Override
    public String toString() {

        String str = "domain ";

        str += this.name + " = " + type + ";";

        return str;
    }
}
